package com.ctshk.rpc.order.goods.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *  火车订单
 * </p>
 *
 * @author 李新科
 * @date 2021/5/27 20:39
 */
@Data
@ApiModel(value="火车订单DTO实体")
public class TrainOrderEsDTO implements Serializable {

    @ApiModelProperty(value = "火车票-出发城市名称")
    private String departureCityName;

    @ApiModelProperty(value = "火车票-到达城市名称")
    private String arriveCityName;

    @ApiModelProperty(value = "火车票-火车出发日期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime departureDateTime;

    @ApiModelProperty(value = "火车票-车次类型名称")
    private String typeName;

    @ApiModelProperty(value = "火车票-车厢号")
    private String carNum;

    @ApiModelProperty(value = "火车票-座位号")
    private String seatNum;

    @ApiModelProperty(value = "上车站名称")
    private String boardingStationName;

    @ApiModelProperty(value = "下车站点名称")
    private String alightingStationName;
}
